<%@page import="web.loaisp.ConnDBLoaiSP"%>
<%@page import="web.loaisp.LoaiSanPham"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Edit Loai San Pham</title>
</head>
<body>
<% LoaiSanPham lsp = new ConnDBLoaiSP().getLoaiSanPhamID(request.getParameter("maloaisp")); %>
	<form action="UpdServletLoaiSP">
		<h1>Edit Loai San Pham</h1>
		<table>
			<tr>
				<td>Mã Loai Sản Phẩm</td>
				<td><input type="text" name="maloaisp" value="<%=lsp.getMaloaisp()%>"
					readonly="readonly"></td>
			</tr>
			<tr>
				<td>Tên Loai Sản Phẩm</td>
				<td><input type="text" name="tenloaisp" value="<%=lsp.getTenloaisp()%>"></td>
			</tr>
			
			<tr>

				<td colspan="2" align="right">
					<button type="submit" name="update">Update</button>
					<button type="reset" name="reset">Reset</button>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>